package com.maq.domain.vo;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

import com.maq.domain.vo.supper.BaseEntity;

/**
 * 不喜欢的人
 * @author admin
 *
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "dislikedu")
@GenericGenerator(name = "systemUUID", strategy = "uuid")
public class DislikedU implements BaseEntity {
	@Id
	@GeneratedValue(generator = "systemUUID")
	private String id;
	private String uId;//主人公
	private String uList;//不喜欢的人列表
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getuId() {
		return uId;
	}
	public void setuId(String uId) {
		this.uId = uId;
	}
	public String getuList() {
		return uList;
	}
	public void setuList(String uList) {
		this.uList = uList;
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((id == null) ? 0 : id.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		DislikedU other = (DislikedU) obj;
		if (id == null) {
			if (other.id != null)
				return false;
		} else if (!id.equals(other.id))
			return false;
		return true;
	}
	
	
	
}
